package house.repository;

import house.entity.House;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface HouseRepository extends JpaRepository<House, Integer> {

    List<House> findHousesByVillageContainsAndStyleContainsAndRegionContainsOrderByCreateDateDesc(String village, String style, String region);

}
